ig.module(
	'game.entities.spot'
)
.requires(
	'impact.entity',
        'game.entities.base.entityBase'	
)
.defines(function()
{
    EntitySpot = EntityEntityBase.extend(
    {
        animSheet: new ig.AnimationSheet('media/images/paperTrashCan.png', 24, 24),
	typeToPick: 'bread',
	drawBox: true,
        draging: false,
    
        size: {x:24, y:24},
	collides: ig.Entity.COLLIDES.PASSIVE,
                
        init: function(x, y, settings)
        {
	    this.parent(x, y, settings);	    
            this.addAnim('Idle', 1, [0]);
        },
	
        update: function()
        {
            this.parent();	    	    
        },            
                
	touches: function(other)
        {
	    var isTouched = this.parent(other);		    
	    return isTouched;
	}      	
    });
});